package com.yanqu.road.entity.beautyescort;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.servergroup.ICrossServerGroup;

import java.util.ArrayList;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_s_escort_server_group")
public class EscortServerGroup implements ICrossServerGroup {
    @FieldTypeAnnotation
    private int channelId;
    @FieldTypeAnnotation
    private int groupId;
    @FieldTypeAnnotation
    private List<Long> serverList = new ArrayList<>();
    @FieldTypeAnnotation
    private int escortState;

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public List<Long> getServerList() {
        return serverList;
    }

    public void setServerList(List<Long> serverList) {
        this.serverList = serverList;
    }

    public int getEscortState() {
        return escortState;
    }

    public void setEscortState(int escortState) {
        this.escortState = escortState;
    }

    @Override
    public int getState() {
        return this.escortState;
    }
}